.reset-password-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f5f5f5;
  background-image: url('https://img.freepik.com/free-photo/workspace-workplace-office-table_144627-40148.jpg');
  background-size: cover;
  background-position: center;
  padding: 20px;
}

.reset-password-wrapper {
  width: 100%;
  max-width: 480px;
  background: rgba(255, 255, 255, 1);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reset-password-form {
  padding: 24px;
}

.reset-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.reset-header h2 {
  font-size: 22px;
  font-weight: 500;
  color: #333;
  margin: 0;
}

.login-link {
  color: #1890ff;
  text-decoration: none;
  font-size: 14px;
}

.login-link:hover {
  text-decoration: underline;
}

/* 错误和成功提示 */
.error-alert, .success-alert {
  padding: 10px 15px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 14px;
}

.error-alert {
  background-color: #fff2f0;
  border: 1px solid #ffccc7;
  color: #ff4d4f;
  animation: shake 0.5s linear;
}

.success-alert {
  background-color: #f6ffed;
  border: 1px solid #b7eb8f;
  color: #52c41a;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* 表单样式 */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  height: 42px;
  padding: 10px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  transition: border-color 0.3s;
  outline: none;
}

.form-group input:focus {
  border-color: #1890ff;
}

.form-group input:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

.error-message {
  display: block;
  color: #ff4d4f;
  font-size: 12px;
  margin-top: 6px;
}

/* 验证码相关样式 */
.verification-group .verification-input-group,
.captcha-group .captcha-input-group {
  display: flex;
  gap: 10px;
}

.verification-input-group input {
  flex: 1;
}

.verification-code-btn {
  min-width: 120px;
  height: 42px;
  border: 1px solid #1890ff;
  background-color: white;
  color: #1890ff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
  white-space: nowrap;
}

.verification-code-btn:hover:not(:disabled) {
  background-color: rgba(24, 144, 255, 0.1);
}

.verification-code-btn:disabled {
  border-color: #d9d9d9;
  color: #d9d9d9;
  cursor: not-allowed;
}

/* 图灵码样式 */
.captcha-input-group input {
  flex: 1;
}

.captcha-image {
  width: 100px;
  height: 42px;
  cursor: pointer;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.captcha-image img {
  max-width: 100%;
  max-height: 100%;
}

/* 密码相关样式 */
.password-group {
  position: relative;
}

.password-input-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #999;
  font-size: 16px;
}

.password-strength {
  display: flex;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
}

.strength-label {
  font-size: 12px;
  color: #666;
  margin-right: 8px;
}

.strength-value {
  font-size: 12px;
  margin-right: 10px;
  font-weight: 500;
}

.strength-meter {
  flex: 1;
  height: 4px;
  background-color: #f0f0f0;
  border-radius: 2px;
  overflow: hidden;
}

.strength-meter-fill {
  height: 100%;
  transition: width 0.3s, background-color 0.3s;
}

.password-rules {
  margin: 15px 0;
  font-size: 12px;
  color: #999;
}

.rule {
  margin-bottom: 6px;
}

.rule.valid {
  color: #52c41a;
}

/* 提交按钮 */
.submit-btn {
  width: 100%;
  height: 44px;
  background-color: #1890ff;
  border: none;
  border-radius: 4px;
  color: white;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 20px;
}

.submit-btn:hover:not(:disabled) {
  background-color: #40a9ff;
}

.submit-btn:disabled {
  background-color: #bae0ff;
  cursor: not-allowed;
  opacity: 0.8;
}

@media (max-width: 576px) {
  .reset-password-wrapper {
    max-width: 100%;
  }
  
  .verification-code-btn {
    min-width: 100px;
    font-size: 13px;
    padding: 0 5px;
  }
} 